package com.xianggu.fallback;

import com.xianggu.common.XiangGuService;

/**
 * @author chengjy
 * @date 2025/3/9
 */
public class XiangGuFallbackFactory implements FallbackFactory<XiangGuService>{
    @Override
    public XiangGuService create(Throwable cause) {
        cause.printStackTrace();
        System.out.println("服务被降级了，俺是FallbackFactroy");
        return null;
    }
}
